﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Common.NPOI
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
    public class NPOIExcelColumnAttribute : Attribute
    {
        /// <summary>
        /// 表头
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 导出时是否忽略
        /// </summary>
        public bool Ignore { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Order { get; set; }
    }
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class NPOIExcelAttribute : Attribute
    {
        public string SheetName { get; set; }
    }
}
